home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / os2 / sslog12.zip / SSCRICON.CMD < prev    next >
OS/2 REXX Batch file  |  1996-10-20  |  588b  |  18 lines

  1. /* REXX Script to install SSLogger icon on the desktop */
  2.  
  3. call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
  4. call SysLoadFuncs
  5.  
  6. rc = SysCreateObject("WPProgram", "SSLogger 1.2", "<WP_DESKTOP>",                 ,
  7.                      "EXENAME=" || DIRECTORY() || "\SSLogger.exe;STARTUPDIR=" ||  ,
  8.                           DIRECTORY() || ";" || "ASSOCTYPE=Sweepstakes Log;",     ,
  9.                      "replace")
  10. if rc = 1
  11. then
  12.    Say 'Created the SSLogger object on your desktop'
  13. else do
  14.    Say 'Failed to create the SSLogger object on your desktop'
  15.    exit
  16. end
  17.  
  18.